What is it?

ResCompare is a programmer’s utility that compares resource ﬁles. Use it to

•
ﬁnd out what resources you changed while working at home late last night,
•
ﬁnd out what resources the rest of the team changed in the project you’re all working on while you were on vacation,
•
see what resources have changed between versions 1.0 and 1.0.1 of your favorite application,
•
create a Patch application that will apply changes to applications and other ﬁles, which you can use to distribute upgrades of your software without sending a new copy of the entire application,
•
or just get a quick list of the resources in any ﬁle.

How do I use it?

ResCompare is easy to use. Just start it up and choose Open… from the File menu. Pick a resource ﬁle to look at and ResCompare gives you a list of all the resources within that ﬁle. This list is pretty handy because it’s sorted by resource type and ID, and it also contains the name and size of each resource. You can print out the entire list, or you can select some resources and copy the formatted list of information to the clipboard.

But the real fun starts when you choose the Compare with… command ( K) from the File menu. This command lets you open a second resource ﬁle, and it compares each resource in the ﬁrst ﬁle (the master ﬁle) with the resource having the same type and ID in the second ﬁle (the update ﬁle).

You can open the update ﬁle while the master ﬁle is being read. This generally speeds up the comparison process for larger resource ﬁles. Under System 7, you can drag any resource ﬁle onto ResCompare. (Note: If you can’t drag ﬁles onto ResCompare, try rebuilding your Desktop by restarting with the option and command keys held down; or, use Mike Engber’s free Save a BNDL utility.) If the front most window is a resource list that hasn’t been compared to anything yet, Res-Compare will compare the new ﬁle to it. Otherwise, ResCompare will open the new ﬁle.

After comparing, the resources that are identical are removed from the list (it doesn’t alter the ﬁles). All re-sources that were deleted from the master ﬁle are shown in red, with the “deleted” icon ( ) on the left margin. Any resources that were added to the update ﬁle are shown in green, and get the “added” icon ( ). Any resources whose con-tents, attributes or names have changed get the “changed” icon ( ), and are shown in blue. Here’s what a window looks like after comparing two resource ﬁles:

( You must get the applacation to see what i mean )

You can select resources from this list by clicking them. Use the shift key to extend your selection and the command key to form a discontinuous selection. You can also type a resource’s type and ID to scroll to the closest match and select it. Use Select All ( A) from the Edit menu to select all resources at once.

At the top of the window, the names of the master and update ﬁles are shown, along with their version numbers and the names of the volumes they reside on. In the Size column, you can see the “before/after” sizes of each resource. The little “no–write” icon ( ) is next to the update ﬁle to remind you that it cannot be changed. However, the master ﬁle doesn’t have a no–write icon. You can change its resources using the Update com-mand in the Change menu.

If you select one or more resources in the list and choose Update ( U), the update is applied to the selected resources. What does that mean? It means that if a resource was added to the update ﬁle, it gets added to the master ﬁle. A resource that was deleted gets deleted from the master ﬁle. A changed resource is copied from the update ﬁle to the master ﬁle, along with its attributes and resource name. In other words, the selected resources are changed in the master ﬁle so that they are identical to the update ﬁle. After updating, ResCompare removes the selected resources from the list (since they’re now identical).

If you click the   icon, ResCompare swaps the master and update ﬁles. This is useful if you want to get some changed resources into your master ﬁle, and also put some resources you’ve changed into the update ﬁle.

You can also use the Font and Size menus in the usual manner to adjust the font used. You should probably switch to Helvetica before printing to a LaserWriter.

Editing Resources

Select one or more resources and choose Edit resources ( E) from the Edit menu. This command opens the master and update resource ﬁles in a resource editor (either ResEdit or Resorceror™) and displays the selected resources. If the resource editor isn’t running, ResCompare will launch it. Use the Choose editor… command from the Edit menu to select your preferred resource editor. These commands only work under System 7.
Viewing Resource Differences
ResCompare can show you the exact changes to a resource. After comparing ﬁles, select a resource and choose Differences from the Change menu. It may take ResCompare a few moments to compute the resource differences; but when it’s done, ResCompare will display a window like this.
( You must get the applacation to see what i mean )
 
The top portion of the window displays any differences found in the resource name and attributes. Differences in the resource contents are displayed in a hexadecimal format. Identical, inserted, deleted, and changed sections are shown in their respective colors. If you aren’t using a color monitor, you can refer to the byte offsets listed in the two left–hand columns. The left column is the offset within the master ﬁle, and the right column is the offset within the update ﬁle. A section has been deleted if it has no update offset, and it has been added if it has no master offset. If the section has both offsets, it has been changed if the hex dump is split into two sections. Otherwise, the section is identical in both ﬁles. The same information is also displayed in an ASCII dump in the right–hand column.

ResCompare will also show differences if you double–click a resource or select a resource and press return. You can use the Change menu’s Hide same parts command to suppress the display of the identical (black) parts. You can also select any portion of the differences and copy it to the clipboard as text.
This Program is a must if u want to start Kracking.
Need i say more?